﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Super.Admin.Entities
{
    [Table("sys_icon")]
    public class IconEntity
    {
        [Key]
        [Required]
        [Column("id")]
        public string Id { get; set; } = Guid.NewGuid().ToString(); // 使用 Guid.NewGuid() 生成唯一标识符
        [Column("name")]
        public string? Name { get; set; }  // Icon名称
        [Required]
        [Column("value")]
        public byte[] Value { get; set; }  // Icon的字节数组
    }
}
